package day1_12.FirstPhase.ObjectOriented.Phone;

// 写main方法的是测试类
public class PhoneTest {
    public static void main(String[] args) {
        Phone phone = new Phone();
        phone.brand = "小米";
        phone.price = 1999.0;

        System.out.println(phone.brand);
        System.out.println(phone.price);

        phone.call();
        phone.playGame();

        Phone phone2 = new Phone();
        phone2.brand = "apple";
        phone2.price = 8500.0;

        System.out.println(phone2.brand);
        System.out.println(phone2.price);

        phone2.call();
        phone2.playGame();
    }
}
